package com.sumainfor.pc.gmio.fallback;

import com.sumainfor.common.util.JsonResult;
import com.sumainfor.common.utlis.Pager;
import com.sumainfor.pc.gmio.feign.BasePcEpcFeign;
import org.springframework.stereotype.Component;

import java.util.ArrayList;
import java.util.List;
import java.util.Map;

/**
 * @Author PuaChen
 * @Create 2018-12-14 10:39
 */
@Component
public class PcEpcFallback implements BasePcEpcFeign {

    @Override
    public JsonResult getplan_info_building(Map<String, Object> params, Pager pager) {
        return JsonResult.error("工程部服务器繁忙..");
    }

    @Override
    public JsonResult updateInspectStateBy(Map<String, Object> params) {
        return JsonResult.error("工程部服务器繁忙..");
    }

    @Override
    public JsonResult updateIfUpload(Map<String, Object> params) {
        return JsonResult.error("工程部服务器繁忙..");
    }

    @Override
    public JsonResult getArticleType(Map<String, Object> params) {
        return JsonResult.error("工程部服务器繁忙..");
    }

    @Override
    public JsonResult getarticle(Map<String, Object> params) {
        return JsonResult.error("工程部服务器繁忙..");
    }

    @Override
    public JsonResult getArticleTrouble(Map<String, Object> params) {
        return JsonResult.error("工程部服务器繁忙..");
    }

    @Override
    public JsonResult saveTepair(Map<String, Object> params) {
        return JsonResult.error("工程部服务器繁忙..");
    }

    @Override
    public Map<String, Object> getSupplierOrderInfoForRemit(String remitId) {
        return null;
    }

    @Override
    public List<String> searchSupNameToRemitIds(Map<String, Object> params) {
        return null;
    }

    @Override
    public JsonResult getPlanDetailTable(Map<String, Object> params) {
        return JsonResult.error("工程部工程部服务器繁忙..");
    }

    @Override
    public List<Map<String, Object>> getSupplierList() {
        return new ArrayList<>();
    }
    @Override
    public List<Map<String, Object>> getStatementSupplierList() {
        return new ArrayList<>();
    }
}
